package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 住院消费订单信息表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_in_order_detail")
@ApiModel(value = "InOrderDetail对象", description = "住院消费订单信息表")
public class InOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("住院订单信息的Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("患者的id")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty("订单总额")
    @TableField("order_total")
    private Double orderTotal;

    @ApiModelProperty("支付方式：0微信支付，1住院预交金扣费")
    @TableField("pey_method")
    private Integer peyMethod;

    @ApiModelProperty("押金金额")
    @TableField("deposit")
    private Double deposit;

    @ApiModelProperty("订单状态：0未支付，1已支付")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("订单编号，后台生成")
    @TableField("order_num")
    private String orderNum;

    @ApiModelProperty("结算时间")
    @TableField("settlement_time")
    private Date settlementTime;

    @ApiModelProperty("结算医生的id")
    @TableField("doctor_id")
    private Integer doctorId;

    @ApiModelProperty("订单描述")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty("逻辑删除")
    @TableField("is_delete")
    private Integer isDelete;


}
